﻿using System;
using System.Runtime.Serialization;
using JTLeigh.Commerce.Spencer.Core.Service.Contracts;

namespace JTLeigh.Commerce.Spencer.Features.ProductImages.Service.Contracts.Runtime.Common
{

	/// <summary>
	/// Fault returned when the requested view is not known.
	/// </summary>
    [DataContract(Name = "UnknownProductImageViewFault", Namespace = "http://schemas.jtleigh.com/Commerce/Spencer/Features/ProductImages/1.0/Runtime/Common/")]
    public class UnknownProductImageViewFault : FaultBase
	{

		#region Properties

		/// <summary>
		/// Gets or sets the well-known view code that was requested but is not known.
		/// </summary>
		/// <value>
		/// A well-known view code <see cref="Byte"/>.
		/// </value>
		[DataMember(Name = "WellKnownViewCode", IsRequired = true)]
		public byte WellKnownViewCode { get; set; }

		#endregion // Properties

	}

}
